home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_shs_climbcam.cog < prev    next >
Text File  |  1999-11-15  |  952b  |  58 lines

  1.  
  2. # Jones 3D Cog Script
  3. #
  4. # shs_climbcam.cog     
  5. #
  6. # [JWC] copied from RD
  7. #
  8. # (C) 1999 LucasArts Entertainment Company LLC. All Rights Reserved
  9. #
  10. # ========================================================================================
  11.  
  12. symbols
  13. message    entered
  14.  
  15. # maze entry surfaces
  16.  
  17. # bottom
  18. surface    entry1        linkid=1     
  19. surface    entry2        linkid=1
  20. # top
  21. surface    entry3        linkid=1
  22. surface    entry4        linkid=1
  23. # by treasure
  24. surface    entry5        linkid=1
  25. surface    entry6        linkid=1
  26.  
  27. # maze exit surfaces
  28. surface RestoreSurf1        linkid=2
  29. surface    RestoreSurf2        linkid=2
  30. surface    RestoreSurf3        linkid=2
  31. surface    RestoreSurf4        linkid=2
  32. surface RestoreSurf5        linkid=2
  33.  
  34. # maze exit sectors 
  35. sector    RestoreSec1        linkid=2
  36. sector    RestoreSec2        linkid=2
  37.  
  38. end
  39.  
  40. code
  41. entered:
  42. # ---> all faces
  43.     
  44.     if (GetSenderID() == 1)
  45.     {
  46.         SetCameraFOV(110, 1, 1);
  47.     }
  48.  
  49.     if (GetSenderID() == 2)
  50.     {
  51.         SetCameraFOV(90, 1, 1);
  52.     }
  53.  
  54.     return;
  55.  
  56. end
  57.  
  58.